 package teach.aistar;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
//启动定时任务调度器
@EnableScheduling

@SpringBootApplication
@MapperScan(basePackages = "teach.aistar.mapper")
@EnableTransactionManagement
@ServletComponentScan
public class DargonflyApplication {

    public static void main(String[] args) {
        SpringApplication.run(DargonflyApplication.class, args);
    }

}
